#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#define N 12 //max length of skill name +1
#define K 3  //number of skills per card
#define D 15 //max number of cards in deck
#define T 29 //number of test decks======================!!!================
#define S 30 //typical string length
#define MANY 100 //maximal NofCards in library - MANY*5(+MANY commanders)
//================SKILL===========
struct skill
{
  char target; //"x"eno, "i"mperial, "b"loodthirsty, "r"aider, "a"ll, only for active skills
  char which[N]; //enfeeble, regenerate, siege, evade, strike, swipe, pierce, valor, crush, payback, mimic, rally, counter, weaken, jam, leech, heal, immobilize, armor, fear, siphon, flurry, flying, poison, wall, rallyall, strikeall, healall, siegeall, mimicall, weakenall, jamall, enfeebleall, none.
  int power;//not for all skills
  int tmptarget; //as in .xml file, 1='i', 3='b', 4='x', 9='r', unused after init
};
//=============COMMANDER===========
struct commander
{
  char name[S];
  char rarity; //"c"ommon, "u"ncommon/"r"are //unused
  char faction;//"i"mperial, "r"aider, "b"loodthirsty, "x"eno, //unused
  int health;
  int curhp;
  struct skill skills[K];
};
//=================CARD=============
struct card
{
  char name[S];
  char rarity[3]; // "c"ommon/"u"ncommon/"r"are/"l"egendary+"u"nique/"n"ot unique, unused after deck building (currently unused even in deck builder)
  char type; //"a" for action, "s" for structure, "u" for unit (assault card)
  struct skill skills[K];
  char faction; //"i"mperial, "r"aider, "b"loodthirsty, "x"eno, "n"one
  int attack; //zero if action or structure
  int defense; //zero if action
  int cd; //cooldown, zero if action
  int curhp; //current hp, zero if action
  int curatt; //current attack, zero if action or structure
  int curcd;//cooldown left, zero if action, zero if card is active
  int poison; //zero if action or structure
  int jam; //1 if jammed, else 0; zero if action or structure
  int immob; //1 if immobilized, else 0; zero if action or structure
  int enfeeble;//>0 if unit+enfeebled
  int tmpfaction;//as in cards.xml file, 1 = 'i', 3 = 'b', 4 = 'x', 9 = 'r'
  int tmprarity;//as in cards.xml file, 1 = 'c', 2 = 'u', 3 = 'r', 4 = 'l'
};
//=====================FIELD==================
struct field
{
  struct card units[D][2];//0/1 for def/off side
  struct card structures[D][2];
  int numunit[2];//number of alive units
  int numstr[2];//number of standing structures
};
//====================LIBRARY================
struct library
{
  struct card cardpool[5*MANY];
  struct commander commpool[MANY];
  int numcards;
  int numcomms;
};
//===================MISSION=================
struct mission
{
  int numcards;
  struct commander missioncomm;
  struct card deck[D];
  char name[S];
};
//===================MISSIONLIBRARY==========
struct missionlibrary
{
  struct mission Mpool[MANY];
  int numM;
};
//=====================VARIABLES====================
struct card decks[D][2];//0 - def deck, 1 - off deck
struct card AIdecks[D][2];//backup for recover after AI run
struct card sampledecks[D][T];//different decks for testing
struct card customdeck[D];
struct library allcards;
struct missionlibrary allM;
struct field bfield;//battlefield
struct field AIfield;//backup for bfield
int cleft[2]; //number of cards left in Att/Def decks
int AIcleft[2];//backup
int samplenumcards[T];
int surge = 0; //1 if surge
int numturn = 1;//turn number
int AInumturn = 1;//backup
int wins[2][2][T];//========def/att, fight/surge, testdecks======
int winsM[2];//losses/wins on missions
int curwinsAI = 0;
int AIwins[3];
struct mission curmission;
char whichtest[S];
char disablelogs[S];
char teamname[T][S];
char customname[S];
char consoletmp[S];
int AIgoing = 0;
//int AI = 0;//===================AI===============
int AIstr = 0;
int customnumcards = 10;
int decknumber = 0;//number of deck to test
int namelength[T];
int numround = 1;//round number
int AInumround = 1;//backup
int testnumber = 0;//number of test, lol=====
struct commander comms[2];//commanders
struct commander AIcomms[2];//backup
struct commander customcomm;
struct commander samplecomms[T];//commanders of test decks
int ended = 0;
int custom = 0;
int testattack = 1;//1 if testing as an attacker
char DEBUG = 'n';//'y' for debug mode on
int M=1;//number of matches================!!!!!!!!!!!!=============
//======================INIT=======================
int init()
{
  int j, k;
  int dummy;
  int tmp;
  int x;
  char tmpname[S];
  allcards.numcomms = 0;
  allcards.numcards = 0;
  winsM[0] = 0;
  winsM[1] = 0;

  struct commander CF4;
  strcpy(CF4.name, "LoT_CF4");
  CF4.rarity = 'r';
  CF4.faction = 'b';
  CF4.health = 18;
  CF4.curhp = 18;
  strcpy(CF4.skills[0].which, "rallyall");
  CF4.skills[0].target = 'a';
  CF4.skills[0].power = 1;
  strcpy(CF4.skills[1].which, "healall");
  CF4.skills[1].target = 'a';
  CF4.skills[1].power = 1;
  strcpy(CF4.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = CF4;
  allcards.numcomms++;
  //allcards.commpool[allcards.numcomms] = CF4;
  //allcards.numcomms++;//this commander is mission-only!

  struct commander LoT90;
  strcpy(LoT90.name, "Lord_of_Tartarus");
  LoT90.rarity = 'r';
  LoT90.faction = 'b';
  LoT90.health = 18;
  LoT90.curhp = 18;
  strcpy(LoT90.skills[0].which, "enfeeble");
  LoT90.skills[0].target = 'a';
  LoT90.skills[0].power = 1;
  strcpy(LoT90.skills[1].which, "strike");
  LoT90.skills[1].target = 'a';
  LoT90.skills[1].power = 1;
  strcpy(LoT90.skills[2].which, "rallyall");
  LoT90.skills[2].target = 'b';
  LoT90.skills[2].power = 1;
  //allcards.commpool[allcards.numcomms] = LoT90;
  //allcards.numcomms++;//this commander is mission-only!

  struct commander Eva;
  strcpy(Eva.name, "Eva");
  Eva.rarity = 'u';
  Eva.faction = 'i';
  Eva.health = 11;
  Eva.curhp = 11;
  strcpy(Eva.skills[0].which, "heal");
  Eva.skills[0].target = 'i';
  Eva.skills[0].power = 2;
  strcpy(Eva.skills[1].which, "none");
  strcpy(Eva.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Eva;
  allcards.numcomms++;

  struct commander Duncan;
  strcpy(Duncan.name, "Duncan");
  Duncan.rarity = 'u';
  Duncan.faction = 'r';
  Duncan.health = 10;
  Duncan.curhp = 10;
  strcpy(Duncan.skills[0].which, "rally");
  Duncan.skills[0].target = 'r';
  Duncan.skills[0].power = 1;
  strcpy(Duncan.skills[1].which, "siege");
  Duncan.skills[1].power = 1;
  strcpy(Duncan.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Duncan;
  allcards.numcomms++;
 
  struct commander Petrisis;
  strcpy(Petrisis.name, "Petrisis");
  Petrisis.rarity = 'r';
  Petrisis.faction = 'b';
  Petrisis.health = 11;
  Petrisis.curhp = 11;
  strcpy(Petrisis.skills[0].which, "enfeeble");
  Petrisis.skills[0].target = 'a';
  Petrisis.skills[0].power = 1;   
  strcpy(Petrisis.skills[1].which, "none");
  strcpy(Petrisis.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Petrisis;
  allcards.numcomms++;

  struct commander InvasionCoordinator;
  strcpy(InvasionCoordinator.name, "Invasion Coordinator");
  InvasionCoordinator.rarity = 'c';
  InvasionCoordinator.faction = 'x';
  InvasionCoordinator.health = 12;
  InvasionCoordinator.curhp = 12;
  strcpy(InvasionCoordinator.skills[0].which, "rally");
  InvasionCoordinator.skills[0].power = 1;
  InvasionCoordinator.skills[0].target = 'x';
  strcpy(InvasionCoordinator.skills[1].which, "siege");
  InvasionCoordinator.skills[1].power = 1;
  strcpy(InvasionCoordinator.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = InvasionCoordinator;
  allcards.numcomms++;

  struct commander Yurich;
  strcpy(Yurich.name, "Yurich");
  Yurich.rarity = 'r';
  Yurich.faction = 'r';
  Yurich.health = 10;
  Yurich.curhp = 10;
  strcpy(Yurich.skills[0].which, "healall");
  Yurich.skills[0].target = 'r';
  Yurich.skills[0].power = 1;
  strcpy(Yurich.skills[1].which, "none");
  strcpy(Yurich.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Yurich;
  allcards.numcomms++;

  struct commander Dalia;
  strcpy(Dalia.name, "Dalia");
  Dalia.rarity = 'u';
  Dalia.faction = 'r';
  Dalia.health = 7;
  Dalia.curhp = 7;
  strcpy(Dalia.skills[0].which, "weaken");
  Dalia.skills[0].target = 'a';
  Dalia.skills[0].power = 2;
  strcpy(Dalia.skills[1].which, "none");
  strcpy(Dalia.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Dalia;
  allcards.numcomms++;

  struct commander Atlas;
  strcpy(Atlas.name, "Atlas");
  Atlas.rarity = 'r';
  Atlas.faction = 'r';
  Atlas.health = 10;
  Atlas.curhp = 10;
  strcpy(Atlas.skills[0].which, "strike");
  Atlas.skills[0].target = 'a';
  Atlas.skills[0].power = 1;
  strcpy(Atlas.skills[1].which, "none");
  strcpy(Atlas.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Atlas;
  allcards.numcomms++;

  struct commander Malort;
  strcpy(Malort.name, "Malort");
  Malort.rarity = 'r';
  Malort.faction = 'b';
  Malort.health = 8;
  Malort.curhp = 8;
  strcpy(Malort.skills[0].which, "strike");
  Malort.skills[0].target = 'r';
  Malort.skills[0].power = 1;
  strcpy(Malort.skills[1].which, "rally");
  Malort.skills[1].target = 'b';
  Malort.skills[1].power = 1;
  strcpy(Malort.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Malort;
  allcards.numcomms++;

  struct commander Aiko;
  strcpy(Aiko.name, "Aiko");
  Aiko.rarity = 'r';
  Aiko.faction = 'b';
  Aiko.health = 8;
  Aiko.curhp = 8;
  strcpy(Aiko.skills[0].which, "rally");
  Aiko.skills[0].power = 1;
  Aiko.skills[0].target = 'a';
  strcpy(Aiko.skills[1].which, "none");
  strcpy(Aiko.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Aiko;
  allcards.numcomms++;

  struct commander Barracus;
  strcpy(Barracus.name, "Barracus");
  Barracus.rarity = 'r';
  Barracus.faction = 'r';
  Barracus.health = 12;
  Barracus.curhp = 12;
  strcpy(Barracus.skills[0].which, "strike");
  Barracus.skills[0].power = 1;
  Barracus.skills[0].target = 'b';
  strcpy(Barracus.skills[1].which, "enfeeble");
  Barracus.skills[1].power = 1;
  Barracus.skills[1].target = 'x';
  strcpy(Barracus.skills[2].which, "weaken");
  Barracus.skills[2].power = 1;
  Barracus.skills[2].target = 'i';
  allcards.commpool[allcards.numcomms] = Barracus;
  allcards.numcomms++;

  struct commander BarDR4;
  strcpy(BarDR4.name, "BarDR4");
  BarDR4.rarity = 'r';
  BarDR4.faction = 'r';
  BarDR4.health = 15;
  BarDR4.curhp = 15;
  strcpy(BarDR4.skills[0].which, "healall");
  BarDR4.skills[0].power = 1;
  BarDR4.skills[0].target = 'a';
  strcpy(BarDR4.skills[1].which, "enfeebleall");
  BarDR4.skills[1].power = 1;
  BarDR4.skills[1].target = 'a';
  strcpy(BarDR4.skills[2].which, "siege");
  BarDR4.skills[2].power = 1;
  //allcards.commpool[allcards.numcomms] = BarDR4;
  //allcards.numcomms++;

  struct commander Thadius;
  strcpy(Thadius.name, "Thadius");
  Thadius.rarity = 'u';
  Thadius.faction = 'i';
  Thadius.health = 12;
  Thadius.curhp = 12;
  strcpy(Thadius.skills[0].which, "rally");
  Thadius.skills[0].target = 'i';
  Thadius.skills[0].power = 1;
  strcpy(Thadius.skills[1].which, "none");
  strcpy(Thadius.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Thadius;
  allcards.numcomms++;

  struct commander Skull;
  strcpy(Skull.name, "Skullkeeper");
  Skull.rarity = 'u';
  Skull.faction = 'r';
  Skull.health = 17;
  Skull.curhp = 17;
  strcpy(Skull.skills[0].which, "none");
  strcpy(Skull.skills[1].which, "none");
  strcpy(Skull.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Skull;
  allcards.numcomms++;

  struct commander LoT;
  strcpy(LoT.name, "Lord_of_Tartarus");
  LoT.rarity = 'u';
  LoT.faction = 'b';
  LoT.health = 12;
  LoT.curhp = 12;
  strcpy(LoT.skills[0].which, "rally");
  LoT.skills[0].target = 'b';
  LoT.skills[0].power = 1;
  strcpy(LoT.skills[1].which, "heal");
  LoT.skills[1].target = 'b';
  LoT.skills[1].power = 1;
  strcpy(LoT.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = LoT;
  allcards.numcomms++;

  struct commander Freddie;
  strcpy(Freddie.name, "Freddie");
  Freddie.rarity = 'r';
  Freddie.faction = 'i';
  Freddie.health = 12;
  Freddie.curhp = 12;
  strcpy(Freddie.skills[0].which, "healall");
  Freddie.skills[0].target = 'i';
  Freddie.skills[0].power = 1;
  strcpy(Freddie.skills[1].which, "none");
  strcpy(Freddie.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Freddie;
  allcards.numcomms++;

  struct commander Dementia;
  strcpy(Dementia.name, "Dementia");
  Dementia.rarity = 'r';
  Dementia.faction = 'b';
  Dementia.health = 13;
  Dementia.curhp = 13;
  strcpy(Dementia.skills[0].which, "healall");
  Dementia.skills[0].target = 'b';
  Dementia.skills[0].power = 1;
  strcpy(Dementia.skills[1].which, "none");
  strcpy(Dementia.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Dementia;
  allcards.numcomms++;

  struct commander Dracorex;
  strcpy(Dracorex.name, "Dracorex");
  Dracorex.rarity = 'r';
  Dracorex.faction = 'b';
  Dracorex.health = 9;
  Dracorex.curhp = 9;
  strcpy(Dracorex.skills[0].which, "weakenall");
  Dracorex.skills[0].power = 1;
  Dracorex.skills[0].target = 'a';
  strcpy(Dracorex.skills[1].which, "none");
  strcpy(Dracorex.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Dracorex;
  allcards.numcomms++;

  struct commander Hydraulis;
  strcpy(Hydraulis.name, "Hydraulis");
  Hydraulis.rarity = 'c';
  Hydraulis.faction = 'i';
  Hydraulis.health = 4;
  Hydraulis.curhp = 4;
  strcpy(Hydraulis.skills[0].which, "mimic");
  Hydraulis.skills[0].target = 'a';
  strcpy(Hydraulis.skills[1].which, "none");
  strcpy(Hydraulis.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Hydraulis;
  allcards.numcomms++;

  struct commander Vyander;
  strcpy(Vyander.name, "Vyander");
  Vyander.rarity = 'r';
  Vyander.faction = 'x';
  Vyander.health = 11;
  Vyander.curhp = 11;
  strcpy(Vyander.skills[0].which, "healall");
  Vyander.skills[0].power = 1;
  Vyander.skills[0].target = 'x';
  strcpy(Vyander.skills[1].which, "none");
  strcpy(Vyander.skills[2].which, "none");
  allcards.commpool[allcards.numcomms] = Vyander;
  allcards.numcomms++;

  //=====================INITXML====================
  j=0; 
  strcpy(allcards.cardpool[allcards.numcards].name, "Infantry");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Heavy_Infantry");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Rocket_Infantry");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tank_Buster");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Bazooka_Marine");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Rally_Infantry");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Medic");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Flame_Guard");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sawblade");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Infiltrator");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Barrage_Tank");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dreadnaught");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tempest");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hawkeye");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cerberus");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Devastator");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Terminator");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Valkyrie");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Reaper");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Aquabat");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Quad_Walker");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sabre");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
 // j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Stormrunner");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Aegis");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tiamat");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Nimbus");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hyperion_Prototype");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Grunt");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Artemis_Tank");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dread_Panzer");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Saw_Tank");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cyclone");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Drones");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Chopper");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Orca");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Shock_Grunt");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Bombardment_Tanks");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Combat_Specialist");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Gunjack");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Exosoldier");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Neocyte_Guard");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blitz_Armor");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Scorpion");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Nightstalker");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Marauder");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Pelican");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Echo_Hunter");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Havoc");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sand_Crawler");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Chronos");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hydra");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Omega");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Vampire");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Locust_Swarm");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Banshee");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Annelid_Mass");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blight_Ooze");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Infected_Grunt");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Bonestalker");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blood_Grunt");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sanguiphage");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
 // j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Abomination");
  allcards.cardpool[allcards.numcards].attack = 5;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Brood_Walker");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Ravager");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Plague_Duster");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Draconian Queen");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hatchet");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Malgoth");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enfeebler");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Xeno_Mauler");
  allcards.cardpool[allcards.numcards].attack = 5;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enclave_Parasite");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Spine_Crawler");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dominated_Hatchlings");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Chimera");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Gravity_Tank");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Daemon");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enclave_Champion");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Xeno_Mothership");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Apex");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Foundry");
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Medic_Bay");
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Orbital_Cannon");
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Raider_Wall");
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Communications_Array");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Rally_Flag");
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Harbor_Command");
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Asylum");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Regeneration_Bay");
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Xeno_Singularis");
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Missile_Silo");
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Command_Center");
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blood_Pool");
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Halt_Advance");
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Demolish");
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 5;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Airstrike");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mend_Wounds");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Electromagnetic_Pulse");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Irradiation");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Pandemic");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Zealot");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Marine");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Impulse_Walker");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Exterminator");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "SkyCom");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Moloch");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Bolide_Walker");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
 // j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Glaive");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Speculus");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Shiver");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Reshaper Tank");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Spectre");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dracus_Wyrm");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enclave_Warlord");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enclave_Arbiter");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tarantula");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Median");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dreadship");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Monstrosity");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Piranha");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mind_Controller");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tyr\'s_Hunter");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dragoon_Hunters");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Xeno_Interceptor");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tremor_Wyrm");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Phoenix");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Abolisher");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Razor Hawk");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Trap_Setter");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 9;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sneaky_Brute");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Revolver");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Arc_Trooper");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tainted_Blade");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cybertron");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tremor_Hunter");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cannon_Walker");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Grinder");
  allcards.cardpool[allcards.numcards].attack = 6;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Scavenger");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Rabid_Corruptor");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Gore_Crawler");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blood_Spout");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Smog_Tank");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mirror_Wall");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Artillery_Encampment");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Power_Generator");
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Xeno_Forcefield");
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Panopticon");
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tesla_Cannon");
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "ComSat_Terminal");
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Glorious_Assault");
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Chaos_Wave");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Death_from_ Above");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "END_TYPHON'S_EDGE");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Fortified_Extractor");
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sarcous_Grub");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Pyro_Rig");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Ghost");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Massive_Assault");
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Pathrazer");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Marksman");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Orbo");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blood_Wall");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Immortal");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Titan");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Kraken");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 11;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hornet_Drones");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Obsidian");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Exodrone");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Feral_Scorpion");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Predator");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Shapeshifter");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Fortifier");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Gun_Raven");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 10;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hunter");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Jet_Trooper");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Rifter");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dozer_Tank");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Anvil");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Stealthy_Niaq");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Muon_Walker");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Front_Line_Warrior");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 0;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Stagger_Shooter");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Swift_Troops");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Heavy Gunner");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Imitation_Tank");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Ion_Strykers");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dominator");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Helios");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Scropinox");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mobile_Magnacannon");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 4; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hydroblade");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Dune_Runner");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "APC");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Fury_Walker");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Berzerker");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Colossus");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Goliath");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Acid_Spewer");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blood_Rider");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Carcass_Scrounge");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sulfuris_Sentry");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Infernal_Strangler");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blight_Crusher");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Lummox");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 5;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mawcor");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Beholder");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cavern_Smelter");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tunneller");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Invasion_Scouts");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Achawin");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enclave_Remnant");
  allcards.cardpool[allcards.numcards].attack = 5;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Hypastryx");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Merciless_Invader");
  allcards.cardpool[allcards.numcards].attack = 7;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 4; //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Vaporwing");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Ragnarok");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Raider_Encampment");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Invasion_Blockade");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sulfuris_Acid_Pit");
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Enclave_Pylon");
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cloning_Laboratory");
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Earthquake_Generator");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blight_Tower");
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Multi-Strike");
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Impede_Assault");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Maximum_Damage");
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Bulldozer");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Poseidon");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Venomous_Raptor");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].rarity[1] = 'u';
  //<reserve>1</reserve>
  allcards.cardpool[allcards.numcards].tmprarity = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Assembly_Plant");
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 0;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "wall");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Vorpal_Tank");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Tactical_Infiltrator");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Irradiated_Infantry");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Sky_Watcher");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Pummeller");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Naval_Bombarder");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "swipe");
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Guerilla");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Seeker");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "evade");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cluster_Ballista");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "valor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Marmoda");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "valor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 4;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 4;
  allcards.cardpool[allcards.numcards].tmpfaction = 1;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Flanker");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Avenger");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "valor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Savage_Brute");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Disruptor");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "valor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Jericho");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flurry");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 9;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Slasher");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "swipe");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "crush");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Drill_Mech");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "regenerate");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Amorphous Wretch");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 2;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Heartripper");
  allcards.cardpool[allcards.numcards].attack = 0;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "swipe");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mad_Cur");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Crippler");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Mass_Infester");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 8;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "weaken");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Overwhelming_Swarm");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siege");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Wicked_Mantis");
  allcards.cardpool[allcards.numcards].attack = 4;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Infectious_Stalker");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "counter");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Corrosive_Fiend");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 1;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "valor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Flesheater");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "rally");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Blight_Golem");
  allcards.cardpool[allcards.numcards].attack = 8;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Pouncer");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "heal");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Intruder");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 3;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "armor");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 9;
 // j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "fear");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Redeemer");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "swipe");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "immobilize");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "siphon");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Impaler");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "leech");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Raging_Prowler");
  allcards.cardpool[allcards.numcards].attack = 6;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 3;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "strike");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Fenrir");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 1;
  strcat(allcards.cardpool[allcards.numcards].skills[j-1].which, "all");
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Valefar");
  allcards.cardpool[allcards.numcards].attack = 3;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "swipe");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "pierce");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;
  allcards.cardpool[allcards.numcards].tmpfaction = 3;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Absolver");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 5;
  allcards.cardpool[allcards.numcards].cd = 2;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power= 1;
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].skills[j-1].tmptarget = 3;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Cultivator");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 1;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "flying");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "mimic");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Bio Drone");
  allcards.cardpool[allcards.numcards].attack = 1;
  allcards.cardpool[allcards.numcards].defense = 6;
  allcards.cardpool[allcards.numcards].cd = 3;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "swipe");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "poison");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Warped_Infiltrator");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 7;
  allcards.cardpool[allcards.numcards].cd = 4;
  allcards.cardpool[allcards.numcards].tmprarity = 2;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "enfeeble");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 2;// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "antiair");
  allcards.cardpool[allcards.numcards].skills[j-1].power = 1;
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;
  strcpy(allcards.cardpool[allcards.numcards].name, "Loki's_Scion");
  allcards.cardpool[allcards.numcards].attack = 2;
  allcards.cardpool[allcards.numcards].defense = 4;
  allcards.cardpool[allcards.numcards].cd = 1;
  allcards.cardpool[allcards.numcards].tmprarity = 4;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "payback");// j++;
 j++;  strcpy(allcards.cardpool[allcards.numcards].skills[j-1].which, "jam");
  allcards.cardpool[allcards.numcards].tmpfaction = 4;
  allcards.numcards++;
  for(k=j;k<=2;k++)
    strcpy(allcards.cardpool[allcards.numcards-1].skills[k].which, "none");
  j=0;

  for (j=0;j<=allcards.numcards-1;j++) //re-formatting!
    {
      //rarity
      if (allcards.cardpool[j].tmpfaction == 1)
    allcards.cardpool[j].faction = 'i';
      if (allcards.cardpool[j].tmpfaction == 3)
    allcards.cardpool[j].faction = 'b';
      if (allcards.cardpool[j].tmpfaction == 4)
    allcards.cardpool[j].faction = 'x';
      if (allcards.cardpool[j].tmpfaction == 9)
    allcards.cardpool[j].faction = 'r';
      for (k=0;k<=2;k++)
    {
      if (allcards.cardpool[j].skills[k].tmptarget == 1)
        allcards.cardpool[j].skills[k].target = 'i';
      if (allcards.cardpool[j].skills[k].tmptarget == 3)
        allcards.cardpool[j].skills[k].target = 'b';
      if (allcards.cardpool[j].skills[k].tmptarget == 4)
        allcards.cardpool[j].skills[k].target = 'x';
      if (allcards.cardpool[j].skills[k].tmptarget == 9)
        allcards.cardpool[j].skills[k].target = 'r';
      if (allcards.cardpool[j].skills[k].tmptarget != 9 && allcards.cardpool[j].skills[k].tmptarget != 4 && allcards.cardpool[j].skills[k].tmptarget != 3 && allcards.cardpool[j].skills[k].tmptarget != 1)
        allcards.cardpool[j].skills[k].target = 'a';
    }
      allcards.cardpool[j].curhp = allcards.cardpool[j].defense;
      allcards.cardpool[j].curatt = allcards.cardpool[j].attack;
      allcards.cardpool[j].curcd = allcards.cardpool[j].cd;
      allcards.cardpool[j].poison = 0;
      allcards.cardpool[j].immob = 0;
      allcards.cardpool[j].jam = 0;
      allcards.cardpool[j].enfeeble = 0;
      allcards.cardpool[j].type = 'u';
    }
  //------may cause bugs if you add cards to the beginning--------
  for (j=79;j<=91;j++)
    allcards.cardpool[j].type = 's';//That is what you get for removing ID's =(
  for (j=92;j<=98;j++)
    allcards.cardpool[j].type = 'a';
  allcards.cardpool[103].type = 's';
  for (j=141;j<=147;j++)
    allcards.cardpool[j].type = 's';
  for (j=148;j<=150;j++)
    allcards.cardpool[j].type = 'a';
  allcards.cardpool[152].type = 's';
  allcards.cardpool[156].type = 'a';
  allcards.cardpool[160].type = 's';
  for (j=214;j<=220;j++)
    allcards.cardpool[j].type = 's';
  for (j=221;j<=223;j++)
    allcards.cardpool[j].type = 'a';
  allcards.cardpool[227].type = 's';
  //In xml-file all structures had ID 2000+, units 0+, commanders 3000+ and actions 1000+
  //=============================================== 
  struct card Nightmare;
  strcpy(Nightmare.name, "Nightmare");
  strcpy(Nightmare.rarity, "rn");
  Nightmare.faction = 'b';
  Nightmare.type = 'u';
  Nightmare.attack = 2;
  Nightmare.defense = 6;
  Nightmare.cd = 4;
  Nightmare.curhp = 6;
  Nightmare.curatt = 2;
  Nightmare.curcd = 4;
  Nightmare.poison = 0;
  Nightmare.jam = 0;
  Nightmare.immob = 0;
  Nightmare.enfeeble = 0;
  strcpy(Nightmare.skills[0].which, "fear");
  strcpy(Nightmare.skills[1].which, "flurry");
  Nightmare.skills[1].power = 1;
  strcpy(Nightmare.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Nightmare;
  allcards.numcards++;

  struct card Whiplash;
  strcpy(Whiplash.name, "Whiplash");
  strcpy(Whiplash.rarity, "rn");
  Whiplash.faction = 'b';
  Whiplash.type = 'u';
  Whiplash.attack = 0;
  Whiplash.defense = 4;
  Whiplash.cd = 1;
  Whiplash.curhp = 4;
  Whiplash.curatt = 0;
  Whiplash.curcd = 1;
  Whiplash.poison = 0;
  Whiplash.jam = 0;
  Whiplash.immob = 0;
  Whiplash.enfeeble = 0;
  strcpy(Whiplash.skills[0].which, "rally");
  Whiplash.skills[1].power = 1;
  Whiplash.skills[1].target = 'a';
  strcpy(Whiplash.skills[1].which, "enfeeble");
  Whiplash.skills[1].power = 1;
  Whiplash.skills[1].target = 'a';
  strcpy(Whiplash.skills[2].which, "leech");
  Whiplash.skills[2].power = 1;
  allcards.cardpool[allcards.numcards] = Whiplash;
  allcards.numcards++;

  struct card Mech_Walker;
  strcpy(Mech_Walker.name, "Mech_Walker");
  strcpy(Mech_Walker.rarity, "ru");
  Mech_Walker.faction = 'r';
  Mech_Walker.type = 'u';
  Mech_Walker.attack = 2;
  Mech_Walker.defense = 3;
  Mech_Walker.cd = 2;
  Mech_Walker.curhp = 3;
  Mech_Walker.curatt = 2;
  Mech_Walker.curcd = 2;
  Mech_Walker.poison = 0;
  Mech_Walker.jam = 0;
  Mech_Walker.immob = 0;
  Mech_Walker.enfeeble = 0;
  strcpy(Mech_Walker.skills[0].which, "strike");
  Mech_Walker.skills[0].power = 1;
  Mech_Walker.skills[0].target = 'a';
  strcpy(Mech_Walker.skills[1].which, "armor");
  Mech_Walker.skills[1].power = 2;
  strcpy(Mech_Walker.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Mech_Walker;
  allcards.numcards++;

  struct card Barracuda;
  strcpy(Barracuda.name, "Barracuda");
  strcpy(Barracuda.rarity, "ru");
  Barracuda.faction = 'r';
  Barracuda.type = 'u';
  Barracuda.attack = 4;
  Barracuda.defense = 5;
  Barracuda.cd = 3;
  Barracuda.curhp = 5;
  Barracuda.curatt = 4;
  Barracuda.curcd = 3;
  Barracuda.poison = 0;
  Barracuda.jam = 0;
  Barracuda.immob = 0;
  Barracuda.enfeeble = 0;
  strcpy(Barracuda.skills[0].which, "siege");
  Barracuda.skills[0].power = 2;
  Barracuda.skills[0].target = 'a';
  strcpy(Barracuda.skills[1].which, "jam");
  Barracuda.skills[1].target = 'a';
  strcpy(Barracuda.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Barracuda;
  allcards.numcards++;

  struct card MisLauncher;
  strcpy(MisLauncher.name, "Missile_Launcher");
  strcpy(MisLauncher.rarity, "rn");
  MisLauncher.faction = 'i';
  MisLauncher.type = 'u';
  MisLauncher.attack = 2;
  MisLauncher.defense = 5;
  MisLauncher.cd = 2;
  MisLauncher.curhp = 5;
  MisLauncher.curatt = 2;
  MisLauncher.curcd = 2;
  MisLauncher.poison = 0;
  MisLauncher.jam = 0;
  MisLauncher.immob = 0;
  MisLauncher.enfeeble = 0;
  strcpy(MisLauncher.skills[0].which, "jam");
  MisLauncher.skills[0].target = 'a';
  strcpy(MisLauncher.skills[1].which, "antiair");
  MisLauncher.skills[1].power = 2;
  strcpy(MisLauncher.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = MisLauncher;
  allcards.numcards++;

  struct card GunRunner;
  strcpy(GunRunner.name, "Gun_Runner");
  strcpy(GunRunner.rarity, "rn");
  GunRunner.faction = 'i';
  GunRunner.type = 'u';
  GunRunner.attack = 2;
  GunRunner.defense = 6;
  GunRunner.cd = 3;
  GunRunner.curhp = 6;
  GunRunner.curatt = 2;
  GunRunner.curcd = 3;
  GunRunner.poison = 0;
  GunRunner.jam = 0;
  GunRunner.immob = 0;
  GunRunner.enfeeble = 0;
  strcpy(GunRunner.skills[0].which, "jam");
  GunRunner.skills[0].target = 'a';
  strcpy(GunRunner.skills[1].which, "regenerate");
  GunRunner.skills[1].power = 2;
  strcpy(GunRunner.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = GunRunner;
  allcards.numcards++;

  struct card Hellion;
  strcpy(Hellion.name, "Hellion");
  strcpy(Hellion.rarity, "rn");
  Hellion.faction = 'i';
  Hellion.type = 'u';
  Hellion.attack = 2;
  Hellion.defense = 4;
  Hellion.cd = 2;
  Hellion.curhp = 4;
  Hellion.curatt = 2;
  Hellion.curcd = 2;
  Hellion.poison = 0;
  Hellion.jam = 0;
  Hellion.immob = 0;
  Hellion.enfeeble = 0;
  strcpy(Hellion.skills[0].which, "jam");
  Hellion.skills[0].target = 'a';
  strcpy(Hellion.skills[1].which, "flurry");
  Hellion.skills[1].power = 1;
  strcpy(Hellion.skills[2].which, "flying");
  allcards.cardpool[allcards.numcards] = Hellion;
  allcards.numcards++;

  struct card Enforcer;
  strcpy(Enforcer.name, "Enforcer_Mech");
  strcpy(Enforcer.rarity, "rn");
  Enforcer.faction = 'i';
  Enforcer.type = 'u';
  Enforcer.attack = 3;
  Enforcer.defense = 8;
  Enforcer.cd = 4;
  Enforcer.curhp = 8;
  Enforcer.curatt = 3;
  Enforcer.curcd = 4;
  Enforcer.poison = 0;
  Enforcer.jam = 0;
  Enforcer.immob = 0;
  Enforcer.enfeeble = 0;
  strcpy(Enforcer.skills[0].which, "jam");
  Enforcer.skills[0].target = 'a';
  strcpy(Enforcer.skills[1].which, "immobilize");
  strcpy(Enforcer.skills[2].which, "heal");
  Enforcer.skills[1].power = 2;
  Enforcer.skills[1].target = 'i';
  allcards.cardpool[allcards.numcards] = Enforcer;
  allcards.numcards++;

  struct card Sharpshooter;
  strcpy(Sharpshooter.name, "Sharpshooter");
  strcpy(Sharpshooter.rarity, "rn");
  Sharpshooter.faction = 'i';
  Sharpshooter.type = 'u';
  Sharpshooter.attack = 2;
  Sharpshooter.defense = 5;
  Sharpshooter.cd = 2;
  Sharpshooter.curhp = 5;
  Sharpshooter.curatt = 2;
  Sharpshooter.curcd = 2;
  Sharpshooter.poison = 0;
  Sharpshooter.jam = 0;
  Sharpshooter.immob = 0;
  Sharpshooter.enfeeble = 0;
  strcpy(Sharpshooter.skills[0].which, "strike");
  Sharpshooter.skills[0].power = 1;
  Sharpshooter.skills[0].target = 'a';
  strcpy(Sharpshooter.skills[1].which, "evade");
  strcpy(Sharpshooter.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Sharpshooter;
  allcards.numcards++;

  struct card Metalhead;
  strcpy(Metalhead.name, "Metalhead");
  strcpy(Metalhead.rarity, "rn");
  Metalhead.faction = 'i';
  Metalhead.type = 'u';
  Metalhead.attack = 2;
  Metalhead.defense = 5;
  Metalhead.cd = 3;
  Metalhead.curhp = 5;
  Metalhead.curatt = 2;
  Metalhead.curcd = 3;
  Metalhead.poison = 0;
  Metalhead.jam = 0;
  Metalhead.immob = 0;
  Metalhead.enfeeble = 0;
  strcpy(Metalhead.skills[0].which, "flurry");
  Metalhead.skills[0].power = 1;
  strcpy(Metalhead.skills[1].which, "siege");
  Metalhead.skills[1].power = 2;
  strcpy(Metalhead.skills[2].which, "armor");
  Metalhead.skills[2].power = 2;
  allcards.cardpool[allcards.numcards] = Metalhead;
  allcards.numcards++;

  struct card Howitzer;
  strcpy(Howitzer.name, "Howitzer");
  strcpy(Howitzer.rarity, "ru");
  Howitzer.faction = 'r';
  Howitzer.type = 'u';
  Howitzer.attack = 2;
  Howitzer.defense = 5;
  Howitzer.cd = 3;
  Howitzer.curhp = 5;
  Howitzer.curatt = 2;
  Howitzer.curcd = 3;
  Howitzer.poison = 0;
  Howitzer.jam = 0;
  Howitzer.immob = 0;
  Howitzer.enfeeble = 0;
  strcpy(Howitzer.skills[0].which, "armor");
  Howitzer.skills[0].power = 1;
  strcpy(Howitzer.skills[1].which, "swipe");
  strcpy(Howitzer.skills[2].which, "crush");
  Howitzer.skills[2].power = 2;
  allcards.cardpool[allcards.numcards] = Howitzer;
  allcards.numcards++;

  struct card Diesel;
  strcpy(Diesel.name, "Diesel");
  strcpy(Diesel.rarity, "rn");
  Diesel.faction = 'b';
  Diesel.type = 'u';
  Diesel.attack = 2;
  Diesel.defense = 6;
  Diesel.cd = 4;
  Diesel.curhp = 6;
  Diesel.curatt = 2;
  Diesel.curcd = 4;
  Diesel.poison = 0;
  Diesel.jam = 0;
  Diesel.immob = 0;
  Diesel.enfeeble = 0;
  strcpy(Diesel.skills[0].which, "regenerate");
  Diesel.skills[0].power = 3;
  strcpy(Diesel.skills[1].which, "flurry");
  Diesel.skills[0].power = 2;
  strcpy(Diesel.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Diesel;
  allcards.numcards++;

  struct card Trident;
  strcpy(Trident.name, "Trident");
  strcpy(Trident.rarity, "rn");
  Trident.faction = 'i';
  Trident.type = 'u';
  Trident.attack = 3;
  Trident.defense = 4;
  Trident.cd = 2;
  Trident.curhp = 4;
  Trident.curatt = 3;
  Trident.curcd = 2;
  Trident.poison = 0;
  Trident.jam = 0;
  Trident.immob = 0;
  Trident.enfeeble = 0;
  strcpy(Trident.skills[0].which, "counter");
  Trident.skills[0].power = 2;
  strcpy(Trident.skills[1].which, "immobilize");
  strcpy(Trident.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Trident;
  allcards.numcards++;

  struct card ToxicCannon;
  strcpy(ToxicCannon.name, "Toxic_Cannon");
  strcpy(ToxicCannon.rarity, "rn");
  ToxicCannon.faction = 'r';
  ToxicCannon.type = 'u';
  ToxicCannon.attack = 3;
  ToxicCannon.defense = 3;
  ToxicCannon.cd = 3;
  ToxicCannon.curhp = 3;
  ToxicCannon.curatt = 3;
  ToxicCannon.curcd = 3;
  ToxicCannon.poison = 0;
  ToxicCannon.jam = 0;
  ToxicCannon.immob = 0;
  ToxicCannon.enfeeble = 0;
  strcpy(ToxicCannon.skills[0].which, "poison");
  ToxicCannon.skills[0].power = 2;
  strcpy(ToxicCannon.skills[1].which, "armor");
  ToxicCannon.skills[1].power = 2;
  strcpy(ToxicCannon.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = ToxicCannon;
  allcards.numcards++;

  struct card Azure;
  strcpy(Azure.name, "Azure Reaper");
  strcpy(Azure.rarity, "rn");
  Azure.faction = 'x';
  Azure.type = 'u';
  Azure.attack = 3;
  Azure.defense = 5;
  Azure.cd = 3;
  Azure.curhp = 5;
  Azure.curatt = 3;
  Azure.curcd = 3;
  Azure.poison = 0;
  Azure.jam = 0;
  Azure.immob = 0;
  Azure.enfeeble = 0;
  strcpy(Azure.skills[0].which, "mimic");
  Azure.skills[0].target = 'a';
  strcpy(Azure.skills[1].which, "evade");
  strcpy(Azure.skills[2].which, "flying");
  allcards.cardpool[allcards.numcards] = Azure;
  allcards.numcards++;

  struct card Quaker;
  strcpy(Quaker.name, "World Quaker");
  strcpy(Quaker.rarity, "rn");
  Quaker.faction = 'x';
  Quaker.type = 'u';
  Quaker.attack = 3;
  Quaker.defense = 6;
  Quaker.cd = 4;
  Quaker.curhp = 6;
  Quaker.curatt = 3;
  Quaker.curcd = 5;
  Quaker.poison = 0;
  Quaker.jam = 0;
  Quaker.immob = 0;
  Quaker.enfeeble = 0;
  strcpy(Quaker.skills[0].which, "strike");
  Quaker.skills[0].target = 'a';
  Quaker.skills[0].power = 2;
  strcpy(Quaker.skills[1].which, "armor");
  Quaker.skills[1].power = 1;
  strcpy(Quaker.skills[2].which, "mimic");
  Quaker.skills[2].target = 'a';
  allcards.cardpool[allcards.numcards] = Quaker;
  allcards.numcards++;

  struct card Rumbler;
  strcpy(Rumbler.name, "Rumbler");
  strcpy(Rumbler.rarity, "ru");
  Rumbler.faction = 'i';
  Rumbler.type = 'u';
  Rumbler.attack = 2;
  Rumbler.defense = 9;
  Rumbler.cd = 4;
  Rumbler.curhp = 9;
  Rumbler.curatt = 2;
  Rumbler.curcd = 4;
  Rumbler.poison = 0;
  Rumbler.jam = 0;
  Rumbler.immob = 0;
  Rumbler.enfeeble = 0;
  strcpy(Rumbler.skills[0].which, "rallyall");
  Rumbler.skills[0].power = 1;
  Rumbler.skills[0].target = 'a';
  strcpy(Rumbler.skills[1].which, "none");
  strcpy(Rumbler.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Rumbler;
  allcards.numcards++;

  struct card Analyzer;
  strcpy(Analyzer.name, "Remote_Analyzer");
  strcpy(Analyzer.rarity, "rn");
  Analyzer.faction = 'i';
  Analyzer.type = 'u';
  Analyzer.attack = 3;
  Analyzer.defense = 6;
  Analyzer.cd = 3;
  Analyzer.curhp = 6;
  Analyzer.curatt = 3;
  Analyzer.curcd = 3;
  Analyzer.poison = 0;
  Analyzer.jam = 0;
  Analyzer.immob = 0;
  Analyzer.enfeeble = 0;
  strcpy(Analyzer.skills[0].which, "antiair");
  Analyzer.skills[0].power = 1;
  strcpy(Analyzer.skills[1].which, "weaken");
  Analyzer.skills[1].power = 2;
  Analyzer.skills[1].target = 'a';
  strcpy(Analyzer.skills[2].which, "mimic");
  Analyzer.skills[2].target = 'x';
  allcards.cardpool[allcards.numcards] = Analyzer;
  allcards.numcards++;

  struct card Jet;
  strcpy(Jet.name, "Fighter_Jet");
  strcpy(Jet.rarity, "ru");
  Jet.faction = 'i';
  Jet.type = 'u';
  Jet.attack = 3;
  Jet.defense = 4;
  Jet.cd = 2;
  Jet.curhp = 4;
  Jet.curatt = 3;
  Jet.curcd = 2;
  Jet.poison = 0;
  Jet.jam = 0;
  Jet.immob = 0;
  Jet.enfeeble = 0;
  strcpy(Jet.skills[0].which, "antiair");
  Jet.skills[0].power = 2;
  strcpy(Jet.skills[1].which, "flying");
  strcpy(Jet.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Jet;
  allcards.numcards++;

  struct card Bolster;
  strcpy(Bolster.name, "Bolster Xeno");
  strcpy(Bolster.rarity, "ru");
  Bolster.faction = 'r';
  Bolster.type = 'u';
  Bolster.attack = 1;
  Bolster.defense = 6;
  Bolster.cd = 3;
  Bolster.curhp = 6;
  Bolster.curatt = 1;
  Bolster.curcd = 3;
  Bolster.poison = 0;
  Bolster.jam = 0;
  Bolster.immob = 0;
  Bolster.enfeeble = 0;
  strcpy(Bolster.skills[0].which, "enfeeble");
  Bolster.skills[0].power = 1;
  Bolster.skills[0].target = 'a';
  strcpy(Bolster.skills[1].which, "strike");
  Bolster.skills[1].power = 1;
  Bolster.skills[1].target = 'a';
  strcpy(Bolster.skills[2].which, "armor");
  Bolster.skills[2].power = 2;
  allcards.cardpool[allcards.numcards] = Bolster;
  allcards.numcards++;

  struct card Salvager;
  strcpy(Salvager.name, "Salvager");
  strcpy(Salvager.rarity, "rn");
  Salvager.faction = 'r';
  Salvager.type = 'u';
  Salvager.attack = 2;
  Salvager.defense = 5;
  Salvager.cd = 1;
  Salvager.curhp = 5;
  Salvager.curatt = 2;
  Salvager.curcd = 1;
  Salvager.poison = 0;
  Salvager.jam = 0;
  Salvager.immob = 0;
  Salvager.enfeeble = 0;
  strcpy(Salvager.skills[0].which, "heal");
  Salvager.skills[0].power = 1;
  Salvager.skills[0].target = 'r';
  strcpy(Salvager.skills[1].which, "none");
  strcpy(Salvager.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Salvager;
  allcards.numcards++;

  struct card Parasite;
  strcpy(Parasite.name, "Parasite");
  strcpy(Parasite.rarity, "ru");
  Parasite.faction = 'x';
  Parasite.type = 'u';
  Parasite.attack = 3;
  Parasite.defense = 5;
  Parasite.cd = 3;
  Parasite.curhp = 5;
  Parasite.curatt = 3;
  Parasite.curcd = 3;
  Parasite.poison = 0;
  Parasite.jam = 0;
  Parasite.immob = 0;
  Parasite.enfeeble = 0;
  strcpy(Parasite.skills[0].which, "mimic");
  Parasite.skills[0].target = 'a';
  strcpy(Parasite.skills[1].which, "siege");
  Parasite.skills[1].power = 3;
  strcpy(Parasite.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Parasite;
  allcards.numcards++;

  struct card Sustainer;
  strcpy(Sustainer.name, "Sustainer Xolan");
  strcpy(Sustainer.rarity, "rn");
  Sustainer.faction = 'x';
  Sustainer.type = 'u';
  Sustainer.attack = 1;
  Sustainer.defense = 6;
  Sustainer.cd = 2;
  Sustainer.curhp = 6;
  Sustainer.curatt = 1;
  Sustainer.curcd = 2;
  Sustainer.poison = 0;
  Sustainer.jam = 0;
  Sustainer.immob = 0;
  Sustainer.enfeeble = 0;
  strcpy(Sustainer.skills[0].which, "heal");
  Sustainer.skills[0].power = 2;
  Sustainer.skills[0].target = 'x';
  strcpy(Sustainer.skills[1].which, "immobilize");
  strcpy(Sustainer.skills[2].which, "flying");
  allcards.cardpool[allcards.numcards] = Sustainer;
  allcards.numcards++;

  struct card AugerTank;
  strcpy(AugerTank.name, "Auger_Tank");
  strcpy(AugerTank.rarity, "ru");
  AugerTank.faction = 'i';
  AugerTank.type = 'u';
  AugerTank.attack = 1;
  AugerTank.defense = 3;
  AugerTank.cd = 2;
  AugerTank.curhp = 3;
  AugerTank.curatt = 1;
  AugerTank.curcd = 2;
  AugerTank.poison = 0;
  AugerTank.jam = 0;
  AugerTank.immob = 0;
  AugerTank.enfeeble = 0;
  strcpy(AugerTank.skills[0].which, "armor");
  AugerTank.skills[0].power = 2;
  strcpy(AugerTank.skills[1].which, "rally");
  AugerTank.skills[1].target = 'i';
  AugerTank.skills[1].power = 2;
  strcpy(AugerTank.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = AugerTank;
  allcards.numcards++;

  struct card Cycle;
  strcpy(Cycle.name, "Cycle_mech");
  strcpy(Cycle.rarity, "rn");
  Cycle.faction = 'r';
  Cycle.type = 'u';
  Cycle.attack = 1;
  Cycle.defense = 3;
  Cycle.cd = 1;
  Cycle.curhp = 3;
  Cycle.curatt = 1;
  Cycle.curcd = 1;
  Cycle.poison = 0;
  Cycle.jam = 0;
  Cycle.immob = 0;
  Cycle.enfeeble = 0;
  strcpy(Cycle.skills[0].which, "armor");
  Cycle.skills[0].power = 2;
  strcpy(Cycle.skills[1].which, "valor");
  Cycle.skills[1].power = 2;
  strcpy(Cycle.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Cycle;
  allcards.numcards++;

  struct card Ravenous;
  strcpy(Ravenous.name, "Ravenous_beast");
  strcpy(Ravenous.rarity, "rn");
  Ravenous.faction = 'r';
  Ravenous.type = 'u';
  Ravenous.attack = 2;
  Ravenous.defense = 3;
  Ravenous.cd = 3;
  Ravenous.curhp = 3;
  Ravenous.curatt = 2;
  Ravenous.curcd = 3;
  Ravenous.poison = 0;
  Ravenous.jam = 0;
  Ravenous.immob = 0;
  Ravenous.enfeeble = 0;
  strcpy(Ravenous.skills[0].which, "regenerate");
  Ravenous.skills[0].power = 2;
  strcpy(Ravenous.skills[1].which, "rallyall");
  Ravenous.skills[1].power = 1;
  Ravenous.skills[1].target = 'r';
  strcpy(Ravenous.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Ravenous;
  allcards.numcards++;

  struct card Burrower;
  strcpy(Burrower.name, "Burrower");
  strcpy(Burrower.rarity, "ru");
  Burrower.faction = 'r';
  Burrower.type = 'u';
  Burrower.attack = 1;
  Burrower.defense = 5;
  Burrower.cd = 2;
  Burrower.curhp = 5;
  Burrower.curatt = 1;
  Burrower.curcd = 2;
  Burrower.poison = 0;
  Burrower.jam = 0;
  Burrower.immob = 0;
  Burrower.enfeeble = 0;
  strcpy(Burrower.skills[0].which, "evade");
  strcpy(Burrower.skills[1].which, "enfeeble");
  Burrower.skills[1].power = 2;
  Burrower.skills[1].target = 'a';
  strcpy(Burrower.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Burrower;
  allcards.numcards++;

  struct card VengefulRemora;
  strcpy(VengefulRemora.name, "Vengeful_Remora");
  strcpy(VengefulRemora.rarity, "rn");
  VengefulRemora.faction = 'b';
  VengefulRemora.type = 'u';
  VengefulRemora.attack = 1;
  VengefulRemora.defense = 6;
  VengefulRemora.cd = 1;
  VengefulRemora.curhp = 6;
  VengefulRemora.curatt = 1;
  VengefulRemora.curcd = 1;
  VengefulRemora.poison = 0;
  VengefulRemora.jam = 0;
  VengefulRemora.immob = 0;
  VengefulRemora.enfeeble = 0;
  strcpy(VengefulRemora.skills[0].which, "payback");
  strcpy(VengefulRemora.skills[1].which, "immobilize");
  strcpy(VengefulRemora.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = VengefulRemora;
  allcards.numcards++;

  struct card DemolitionBot;
  strcpy(DemolitionBot.name, "Demolition Bot");
  strcpy(DemolitionBot.rarity, "rn");
  DemolitionBot.faction = 'r';
  DemolitionBot.type = 'u';
  DemolitionBot.attack = 1;
  DemolitionBot.defense = 7;
  DemolitionBot.cd = 3;
  DemolitionBot.curhp = 7;
  DemolitionBot.curatt = 1;
  DemolitionBot.curcd = 3;
  DemolitionBot.poison = 0;
  DemolitionBot.jam = 0;
  DemolitionBot.immob = 0;
  DemolitionBot.enfeeble = 0;
  strcpy(DemolitionBot.skills[0].which, "strikeall");
  DemolitionBot.skills[0].power = 1;
  DemolitionBot.skills[0].target = 'a';
  strcpy(DemolitionBot.skills[1].which, "none");
  strcpy(DemolitionBot.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = DemolitionBot;
  allcards.numcards++;

  struct card Carrion;
  strcpy(Carrion.name, "Carrion_Retriever");
  strcpy(Carrion.rarity, "rn");
  Carrion.faction = 'b';
  Carrion.type = 'u';
  Carrion.attack = 3;
  Carrion.defense = 5;
  Carrion.cd = 3;
  Carrion.curhp = 5;
  Carrion.curatt = 3;
  Carrion.curcd = 3;
  Carrion.poison = 0;
  Carrion.jam = 0;
  Carrion.immob = 0;
  Carrion.enfeeble = 0;
  strcpy(Carrion.skills[0].which, "regenerate");
  Carrion.skills[0].power = 2;
  strcpy(Carrion.skills[1].which, "siege");
  Carrion.skills[1].power = 2;
  strcpy(Carrion.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Carrion;
  allcards.numcards++;

  struct card Blight_Master;
  strcpy(Blight_Master.name, "Blight_Master");
  strcpy(Blight_Master.rarity, "rn");
  Blight_Master.faction = 'b';
  Blight_Master.type = 'u';
  Blight_Master.attack = 2;
  Blight_Master.defense = 5;
  Blight_Master.cd = 3;
  Blight_Master.curhp = 5;
  Blight_Master.curatt = 2;
  Blight_Master.curcd = 3;
  Blight_Master.poison = 0;
  Blight_Master.jam = 0;
  Blight_Master.immob = 0;
  Blight_Master.enfeeble = 0;
  strcpy(Blight_Master.skills[0].which, "rally");
  Blight_Master.skills[0].power = 3;
  Blight_Master.skills[0].target = 'b';
  strcpy(Blight_Master.skills[1].which, "none");
  strcpy(Blight_Master.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Blight_Master;
  allcards.numcards++;

  struct card Festerich;
  strcpy(Festerich.name, "Festerich");
  strcpy(Festerich.rarity, "rn");
  Festerich.faction = 'b';
  Festerich.type = 'u';
  Festerich.attack = 3;
  Festerich.defense = 5;
  Festerich.cd = 2;
  Festerich.curhp = 5;
  Festerich.curatt = 3;
  Festerich.curcd = 2;
  Festerich.poison = 0;
  Festerich.jam = 0;
  Festerich.immob = 0;
  Festerich.enfeeble = 0;
  strcpy(Festerich.skills[0].which, "siphon");
  Festerich.skills[0].power = 2;
  strcpy(Festerich.skills[1].which, "crush");
  Festerich.skills[1].power = 2;
  strcpy(Festerich.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Festerich;
  allcards.numcards++;

  struct card Lodestar;
  strcpy(Lodestar.name, "Lodestar");
  strcpy(Lodestar.rarity, "rn");
  Lodestar.faction = 'r';
  Lodestar.type = 'u';
  Lodestar.attack = 2;
  Lodestar.defense = 3;
  Lodestar.cd = 1;
  Lodestar.curhp = 3;
  Lodestar.curatt = 2;
  Lodestar.curcd = 1;
  Lodestar.poison = 0;
  Lodestar.jam = 0;
  Lodestar.immob = 0;
  Lodestar.enfeeble = 0;
  strcpy(Lodestar.skills[0].which, "flying");
  strcpy(Lodestar.skills[1].which, "siege");
  Lodestar.skills[1].power = 2;
  strcpy(Lodestar.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Lodestar;
  allcards.numcards++;
 
  struct card X5_Penetrator;
  strcpy(X5_Penetrator.name, "X5_Penetrator");
  strcpy(X5_Penetrator.rarity, "rn");
  X5_Penetrator.faction = 'x';
  X5_Penetrator.type = 'u';
  X5_Penetrator.attack = 3;
  X5_Penetrator.defense = 4;
  X5_Penetrator.cd = 3;
  X5_Penetrator.curhp = 4;
  X5_Penetrator.curatt = 3;
  X5_Penetrator.curcd = 3;
  X5_Penetrator.poison = 0;
  X5_Penetrator.jam = 0;
  X5_Penetrator.immob = 0;
  X5_Penetrator.enfeeble = 0;
  strcpy(X5_Penetrator.skills[0].which, "evade");
  strcpy(X5_Penetrator.skills[1].which, "strike");
  X5_Penetrator.skills[1].power = 1;
  X5_Penetrator.skills[1].target = 'a';
  strcpy(X5_Penetrator.skills[2].which, "weaken");
  X5_Penetrator.skills[2].power = 2;
  X5_Penetrator.skills[2].target = 'a';
  allcards.cardpool[allcards.numcards] = X5_Penetrator;
  allcards.numcards++;

  struct card Gruesome_Crawler;
  strcpy(Gruesome_Crawler.name, "Gruesome_Crawler");
  strcpy(Gruesome_Crawler.rarity, "ru");
  Gruesome_Crawler.faction = 'b';
  Gruesome_Crawler.type = 'u';
  Gruesome_Crawler.attack = 1;
  Gruesome_Crawler.defense = 2;
  Gruesome_Crawler.cd = 1;
  Gruesome_Crawler.curhp = 2;
  Gruesome_Crawler.curatt = 1;
  Gruesome_Crawler.curcd = 1;
  Gruesome_Crawler.poison = 0;
  Gruesome_Crawler.jam = 0;
  Gruesome_Crawler.immob = 0;
  Gruesome_Crawler.enfeeble = 0;
  strcpy(Gruesome_Crawler.skills[0].which, "evade");
  strcpy(Gruesome_Crawler.skills[1].which, "weakenall");
  Gruesome_Crawler.skills[1].power = 1;
  Gruesome_Crawler.skills[1].target = 'a';
  strcpy(Gruesome_Crawler.skills[2].which, "immobilize");
  allcards.cardpool[allcards.numcards] = Gruesome_Crawler;
  allcards.numcards++;

  struct card Anomaly;
  strcpy(Anomaly.name, "Tartarus_Anomaly");
  strcpy(Anomaly.rarity, "ru");
  Anomaly.faction = 'b';
  Anomaly.type = 'u';
  Anomaly.attack = 2;
  Anomaly.defense = 4;
  Anomaly.cd = 2;
  Anomaly.curhp = 4;
  Anomaly.curatt = 2;
  Anomaly.curcd = 2;
  Anomaly.poison = 0;
  Anomaly.jam = 0;
  Anomaly.immob = 0;
  Anomaly.enfeeble = 0;
  strcpy(Anomaly.skills[0].which, "payback");
  strcpy(Anomaly.skills[1].which, "regenerate");
  Anomaly.skills[1].power = 2;
  strcpy(Anomaly.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Anomaly;
  allcards.numcards++;
  
  struct card Extractor;
  strcpy(Extractor.name, "Mobile_Extractor");
  strcpy(Extractor.rarity, "rn");
  Extractor.faction = 'x';
  Extractor.type = 'u';
  Extractor.attack = 2;
  Extractor.defense = 3;
  Extractor.cd = 1;
  Extractor.curhp = 3;
  Extractor.curatt = 2;
  Extractor.curcd = 1;
  Extractor.poison = 0;
  Extractor.jam = 0;
  Extractor.immob = 0;
  Extractor.enfeeble = 0;
  strcpy(Extractor.skills[0].which, "regenerate");
  Extractor.skills[0].power = 2;
  strcpy(Extractor.skills[1].which, "none");
  strcpy(Extractor.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Extractor;
  allcards.numcards++;
  
  struct card Splinterwing;
  strcpy(Splinterwing.name, "Splinterwing");
  strcpy(Splinterwing.rarity, "rn");
  Splinterwing.faction = 'i';
  Splinterwing.type = 'u';
  Splinterwing.attack = 2;
  Splinterwing.defense = 4;
  Splinterwing.cd = 2;
  Splinterwing.curhp = 4;
  Splinterwing.curatt = 2;
  Splinterwing.curcd = 2;
  Splinterwing.poison = 0;
  Splinterwing.jam = 0;
  Splinterwing.immob = 0;
  Splinterwing.enfeeble = 0;
  strcpy(Splinterwing.skills[0].which, "flurry");
  strcpy(Splinterwing.skills[1].which, "weaken");
  Splinterwing.skills[1].power = 2;
  Splinterwing.skills[1].target = 'a';
  strcpy(Splinterwing.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Splinterwing;
  allcards.numcards++;

  struct card PetrolRig;
  strcpy(PetrolRig.name, "Petrol_Rig");
  strcpy(PetrolRig.rarity, "rn");
  PetrolRig.faction = 'i';
  PetrolRig.type = 's';
  PetrolRig.defense = 8;
  PetrolRig.cd = 3;
  PetrolRig.curhp = 8;
  PetrolRig.curcd = 3;
  strcpy(PetrolRig.skills[0].which, "heal");
  PetrolRig.skills[0].power = 3;
  PetrolRig.skills[0].target = 'a';
  strcpy(PetrolRig.skills[1].which, "none");
  strcpy(PetrolRig.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = PetrolRig;
  allcards.numcards++;

  struct card HazeGeyser;
  strcpy(HazeGeyser.name, "Haze_Geyser");
  strcpy(HazeGeyser.rarity, "rn");
  HazeGeyser.faction = 'b';
  HazeGeyser.type = 's';
  HazeGeyser.defense = 4;
  HazeGeyser.cd = 3;
  HazeGeyser.curhp = 4;
  HazeGeyser.curcd = 3;
  strcpy(HazeGeyser.skills[0].which, "weakenall");
  HazeGeyser.skills[0].target = 'a';
  HazeGeyser.skills[0].power = 1;
  strcpy(HazeGeyser.skills[1].which, "enfeeble");
  HazeGeyser.skills[1].power = 2;
  strcpy(HazeGeyser.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = HazeGeyser;
  allcards.numcards++;

  struct card XenoOverlord;
  strcpy(XenoOverlord.name, "Xeno_Overlord");
  strcpy(XenoOverlord.rarity, "ru");
  XenoOverlord.faction = 'x';
  XenoOverlord.type = 'u';
  XenoOverlord.attack = 2;
  XenoOverlord.defense = 6;
  XenoOverlord.cd = 4;
  XenoOverlord.curhp = 6;
  XenoOverlord.curatt = 2;
  XenoOverlord.curcd = 4;
  XenoOverlord.poison = 0;
  XenoOverlord.jam = 0;
  XenoOverlord.immob = 0;
  XenoOverlord.enfeeble = 0;
  strcpy(XenoOverlord.skills[0].which, "strikeall");
  XenoOverlord.skills[0].power = 1;
  XenoOverlord.skills[0].target = 'a';
  strcpy(XenoOverlord.skills[1].which, "swipe");
  strcpy(XenoOverlord.skills[2].which, "flying");
  allcards.cardpool[allcards.numcards] = XenoOverlord;
  allcards.numcards++;

  
  struct card MysticObelisk;
  strcpy(MysticObelisk.name, "Mystic_Obelisk");
  strcpy(MysticObelisk.rarity, "rn");
  MysticObelisk.faction = 'b';
  MysticObelisk.type = 's';
  MysticObelisk.defense = 4;
  MysticObelisk.cd = 4;
  MysticObelisk.curhp = 4;
  MysticObelisk.curcd = 4;
  strcpy(MysticObelisk.skills[0].which, "evade");
  strcpy(MysticObelisk.skills[1].which, "regenerate");
  MysticObelisk.skills[1].power = 2;
  strcpy(MysticObelisk.skills[2].which, "enfeebleall");
  MysticObelisk.skills[2].power = 2;
  MysticObelisk.skills[2].target = 'a';
  allcards.cardpool[allcards.numcards] = MysticObelisk;
  allcards.numcards++;

  struct card MachineMill;
  strcpy(MachineMill.name, "Machine_Mill");
  strcpy(MachineMill.rarity, "rn");
  MachineMill.faction = 'r';
  MachineMill.type = 's';
  MachineMill.defense = 4;
  MachineMill.cd = 2;
  MachineMill.curhp = 4;
  MachineMill.curcd = 2;
  strcpy(MachineMill.skills[0].which, "weaken");
  MachineMill.skills[0].target = 'a';
  MachineMill.skills[0].power = 2;
  strcpy(MachineMill.skills[1].which, "heal");
  MachineMill.skills[1].target = 'r';
  MachineMill.skills[1].power = 2;
  strcpy(MachineMill.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = MachineMill;
  allcards.numcards++;

  struct card UnstableDynamo;
  strcpy(UnstableDynamo.name, "Unstable_Dynamo");
  strcpy(UnstableDynamo.rarity, "rn");
  UnstableDynamo.faction = 'i';
  UnstableDynamo.type = 's';
  UnstableDynamo.defense = 8;
  UnstableDynamo.cd = 4;
  UnstableDynamo.curhp = 8;
  UnstableDynamo.curcd = 4;
  strcpy(UnstableDynamo.skills[0].which, "mimic");
  UnstableDynamo.skills[0].target = 'a';
  strcpy(UnstableDynamo.skills[1].which, "jam");
  UnstableDynamo.skills[1].target = 'a';
  strcpy(UnstableDynamo.skills[2].which, "siege");
  UnstableDynamo.skills[2].target = 'a';
  UnstableDynamo.skills[2].power = 3;
  allcards.cardpool[allcards.numcards] = UnstableDynamo;
  allcards.numcards++;
  
  struct card Myst;
  strcpy(Myst.name, "Fulfilling_Myst");
  strcpy(Myst.rarity, "rn");
  Myst.faction = 'b';
  Myst.type = 's';
  Myst.defense = 5;
  Myst.cd = 3;
  Myst.curhp = 5;
  Myst.curcd = 3;
  strcpy(Myst.skills[0].which, "rally");
  Myst.skills[0].target = 'b';
  Myst.skills[0].power = 3;
  strcpy(Myst.skills[1].which, "none");
  strcpy(Myst.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Myst;
  allcards.numcards++;

  struct card AbsorptionShield;
  strcpy(AbsorptionShield.name, "Absorption Shield");
  strcpy(AbsorptionShield.rarity, "rn");
  AbsorptionShield.faction = 'i';
  AbsorptionShield.type = 's';
  AbsorptionShield.defense = 7;
  AbsorptionShield.cd = 4;
  AbsorptionShield.curhp = 7;
  AbsorptionShield.curcd = 4;
  strcpy(AbsorptionShield.skills[0].which, "healall");
  AbsorptionShield.skills[0].target = 'a';
  AbsorptionShield.skills[0].power = 2;
  strcpy(AbsorptionShield.skills[1].which, "counter");
  AbsorptionShield.skills[1].power = 1;
  strcpy(AbsorptionShield.skills[2].which, "wall");
  allcards.cardpool[allcards.numcards] = AbsorptionShield;
  allcards.numcards++;

  struct card MortarB;
  strcpy(MortarB.name, "Mortar_bunker");
  strcpy(MortarB.rarity, "rn");
  MortarB.faction = 'i';
  MortarB.type = 's';
  MortarB.defense = 3;
  MortarB.cd = 1;
  MortarB.curhp = 3;
  MortarB.curcd = 1;
  strcpy(MortarB.skills[0].which, "rally");
  MortarB.skills[0].target = 'a';
  MortarB.skills[0].power = 2;
  strcpy(MortarB.skills[1].which, "siege");
  MortarB.skills[1].target = 'a';
  MortarB.skills[1].power = 1;
  strcpy(MortarB.skills[2].which, "wall");
  allcards.cardpool[allcards.numcards] = MortarB;
  allcards.numcards++;

  struct card Gatling;
  strcpy(Gatling.name, "Gatling_tower");
  strcpy(Gatling.rarity, "rn");
  Gatling.faction = 'r';
  Gatling.type = 's';
  Gatling.defense = 5;
  Gatling.cd = 2;
  Gatling.curhp = 5;
  Gatling.curcd = 2;
  strcpy(Gatling.skills[0].which, "strike");
  Gatling.skills[0].target = 'a';
  Gatling.skills[0].power = 1;
  strcpy(Gatling.skills[1].which, "weaken");
  Gatling.skills[1].target = 'a';
  Gatling.skills[1].power = 1;
  strcpy(Gatling.skills[2].which, "jam");
  Gatling.skills[2].target = 'a';
  allcards.cardpool[allcards.numcards] = Gatling;
  allcards.numcards++;

  struct card Warehouse;
  strcpy(Warehouse.name, "Warehouse");
  strcpy(Warehouse.rarity, "rn");
  Warehouse.faction = 'r';
  Warehouse.type = 's';
  Warehouse.defense = 3;
  Warehouse.cd = 1;
  Warehouse.curhp = 3;
  Warehouse.curcd = 1;
  strcpy(Warehouse.skills[0].which, "weaken");
  Warehouse.skills[0].target = 'a';
  Warehouse.skills[0].power = 1;
  strcpy(Warehouse.skills[1].which, "heal");
  Warehouse.skills[1].target = 'a';
  Warehouse.skills[1].power = 1;
  strcpy(Warehouse.skills[2].which, "rally");
  Warehouse.skills[2].target = 'a';
  Warehouse.skills[2].power = 1;
  allcards.cardpool[allcards.numcards] = Warehouse;
  allcards.numcards++;

  struct card XenoFortress;
  strcpy(XenoFortress.name, "Xeno_Fortress");
  strcpy(XenoFortress.rarity, "rn");
  XenoFortress.faction = 'x';
  XenoFortress.type = 's';
  XenoFortress.defense = 6;
  XenoFortress.cd = 3;
  XenoFortress.curhp = 6;
  XenoFortress.curcd = 3;
  strcpy(XenoFortress.skills[0].which, "rallyall");
  XenoFortress.skills[0].target = 'x';
  XenoFortress.skills[0].power = 1;
  strcpy(XenoFortress.skills[1].which, "healall");
  XenoFortress.skills[1].target = 'x';
  XenoFortress.skills[1].power = 1;
  strcpy(XenoFortress.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = XenoFortress;
  allcards.numcards++;

  struct card Plague;
  strcpy(Plague.name, "Plague_Action");
  strcpy(Plague.rarity, "rn");
  Plague.type = 'a';
  strcpy(Plague.skills[0].which, "enfeebleall");
  Plague.skills[0].target = 'a';
  Plague.skills[0].power = 1;
  strcpy(Plague.skills[1].which, "strike");
  Plague.skills[1].target = 'a';
  Plague.skills[1].power = 2;
  strcpy(Plague.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Plague;
  allcards.numcards++;

  struct card Exhaust;
  strcpy(Exhaust.name, "Exhaust");
  strcpy(Exhaust.rarity, "rn");
  Exhaust.type = 'a';
  strcpy(Exhaust.skills[0].which, "enfeeble");
  Exhaust.skills[0].target = 'a';
  Exhaust.skills[0].power = 2;
  strcpy(Exhaust.skills[1].which, "none");
  strcpy(Exhaust.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = Exhaust;
  allcards.numcards++;

  struct card SmashNgrab;
  strcpy(SmashNgrab.name, "Smash_and_grab");
  strcpy(SmashNgrab.rarity, "rn");
  SmashNgrab.type = 'a';
  strcpy(SmashNgrab.skills[0].which, "strikeall");
  SmashNgrab.skills[0].target = 'a';
  SmashNgrab.skills[0].power = 1;
  strcpy(SmashNgrab.skills[1].which, "mimic");
  SmashNgrab.skills[1].target = 'a';
  strcpy(SmashNgrab.skills[2].which, "none");
  allcards.cardpool[allcards.numcards] = SmashNgrab;
  allcards.numcards++;

  j=0;
  strcpy(tmpname, "II rush 1\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Irradiated");
  initsample(j, "Irradiated");
  initsample(j, "Irradiated");
  initsample(j, "Irradiated");
  initsample(j, "Irradiated");
  initsample(j, "Irradiated");
  initsample(j, "Irradiated");
  initsample(j, "Tiamat");
  initsample(j, "Mortar");
  initsample(j, "ComSat");
  samplecomms[j] = Thadius;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++; // Xeno Assault
  strcpy(tmpname, "Xeno assault 1.0\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Loki");
  initsample(j, "Azure");
  initsample(j, "Rifter");
  initsample(j, "Sust");
  initsample(j, "Sust");
  initsample(j, "Dominated");
  initsample(j, "Azure");
  initsample(j, "Parasite");
  initsample(j, "Bolster");
  initsample(j, "Azure");
  samplecomms[j] = Vyander;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Jam Rush\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<= namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Missile_L");
  initsample(j, "Missile_L");
  initsample(j, "Shapeshifter");
  initsample(j, "Hellion");
  initsample(j, "Hellion");
  initsample(j, "MortarB");
  initsample(j, "Gatling");
  initsample(j, "Gatling");
  initsample(j, "Loki");
  initsample(j, "Stealthy");
  samplecomms[j] = Atlas;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Strike Rush\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Hunter");
  initsample(j, "Sharpsh");
  initsample(j, "Sharpsh");
  initsample(j, "Sharpsh");
  initsample(j, "Sharpsh");
  initsample(j, "Predator");
  initsample(j, "Mech_Walker");
  initsample(j, "Omega");
  initsample(j, "Tiamat");
  initsample(j, "Sharpsh");
  samplecomms[j] = Atlas;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Wallstall\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Missile_s");
  initsample(j, "Missile_s");
  initsample(j, "Tesla");
  initsample(j, "Tesla");
  initsample(j, "Command_c");
  initsample(j, "Command_c");
  initsample(j, "Blood_w");
  initsample(j, "Blood_w");
  initsample(j, "Gun_raven");
  initsample(j, "Missile_s");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Daemon spam\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Daemon");
  initsample(j, "Daemon");
  initsample(j, "Daemon");
  initsample(j, "Daemon");
  initsample(j, "Daemon");
  initsample(j, "Sust");
  initsample(j, "Sust");
  initsample(j, "Sust");
  initsample(j, "Xeno_moth");
  initsample(j, "Electro");
  samplecomms[j] = Vyander;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "PummPool\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Pumm");
  initsample(j, "Pumm");
  initsample(j, "Pumm");
  initsample(j, "Pumm");
  initsample(j, "Pumm");
  initsample(j, "Draconian");
  initsample(j, "Blood_p");
  initsample(j, "Blood_p");
  initsample(j, "Blood_p");
  initsample(j, "Valefar");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Imperial Rewards\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Sharpshooter");
  initsample(j, "Sharpshooter");
  initsample(j, "Sharpshooter");
  initsample(j, "Tiamat");
  initsample(j, "Exod");
  initsample(j, "Poseidon");
  initsample(j, "Warehouse");
  initsample(j, "Warehouse");
  samplecomms[j] = Eva;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Drax anti-all\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Aegis");
  initsample(j, "Aegis");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Remote");
  initsample(j, "Remote");
  initsample(j, "Stealthy");
  initsample(j, "Titan");
  initsample(j, "Toxic");
  initsample(j, "Poseidon");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Initiative grab\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Tiamat");
  initsample(j, "Electro");
  initsample(j, "Electro");
  initsample(j, "Sabre");
  initsample(j, "Sabre");
  initsample(j, "Predator");
  initsample(j, "Titan");
  initsample(j, "Poseidon");
  initsample(j, "Stealthy");
  initsample(j, "Omega");
  samplecomms[j] = Atlas;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Autoplay heavy\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Bolide_w");
  initsample(j, "Bolide_w");
  initsample(j, "Aegis");
  initsample(j, "Aegis");
  initsample(j, "Rifter");
  initsample(j, "Pummell");
  initsample(j, "Titan");
  initsample(j, "Pummell");
  initsample(j, "Nimbus");
  initsample(j, "Poseidon");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Azure spam\0");//replaced with jotarkka's version
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Rifter");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Stealthy");
  initsample(j, "Azure");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Rider versatile\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Cannon_w");
  initsample(j, "Cannon_w");
  initsample(j, "Command_c");
  initsample(j, "Dozer");
  initsample(j, "Toxic");
  initsample(j, "Toxic");
  initsample(j, "Colos");
  initsample(j, "Colos");
  initsample(j, "Azure");
  initsample(j, "Azure");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Intruder Terror\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Intruder");
  initsample(j, "Intruder");
  initsample(j, "Intruder");
  initsample(j, "Intruder");
  initsample(j, "Beholder");
  initsample(j, "Asylum");
  initsample(j, "Asylum");
  samplecomms[j] = LoT;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Metal-mania\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Metalhead");
  initsample(j, "Metalhead");
  initsample(j, "Metalhead");
  initsample(j, "Metalhead");
  initsample(j, "Helios");
  initsample(j, "Fortifier");
  initsample(j, "Remote_a");
  initsample(j, "Remote_a");
  initsample(j, "Titan");
  initsample(j, "Poseidon");
  samplecomms[j] = Freddie;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "DracoMulti\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Toxic");
  initsample(j, "Toxic");
  initsample(j, "Rifter");
  initsample(j, "Stealthy");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Aegis");
  initsample(j, "Aegis");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "SeizureSpam\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Sust");
  initsample(j, "Sust");
  initsample(j, "Sust");
  initsample(j, "Parasite");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Parasite");
  initsample(j, "Rifter");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "StarWars\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Cannon_w");
  initsample(j, "Cannon_w");
  initsample(j, "Cannon_w");
  initsample(j, "Cannon_w");
  initsample(j, "Command");
  initsample(j, "Command");
  initsample(j, "Command");
  initsample(j, "Salvager");
  initsample(j, "Salvager");
  initsample(j, "Omega");
  samplecomms[j] = Duncan;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "XenoRush\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Predator");
  initsample(j, "Apex");
  initsample(j, "Sust");
  initsample(j, "Stealthy");
  initsample(j, "Sust");
  initsample(j, "dominated_h");
  initsample(j, "dominated_h");
  initsample(j, "Daemon");
  initsample(j, "Warehouse");
  initsample(j, "Mortar");
  samplecomms[j] = InvasionCoordinator;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Rainbow\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Predator");
  initsample(j, "Tiamat");
  initsample(j, "Omega");
  initsample(j, "Stealthy");
  initsample(j, "Azure");
  initsample(j, "Sharpshooter");
  initsample(j, "Dozer");
  initsample(j, "Trident");
  initsample(j, "Bulldozer");
  initsample(j, "mortar");
  samplecomms[j] = Atlas;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "RaiderMuscle\0");//20!
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Toxic");
  initsample(j, "Toxic");
  initsample(j, "Toxic");
  initsample(j, "Colossus");
  initsample(j, "Havoc");
  initsample(j, "Bulldozer");
  initsample(j, "Dozer");
  initsample(j, "Earthquake");
  initsample(j, "Command");
  initsample(j, "Goliath");
  samplecomms[j] = Yurich;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Colossus spam\0");//replaced with jotarkka's version
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Colossus");
  initsample(j, "Colossus");
  initsample(j, "Colossus");
  initsample(j, "Colossus");
  initsample(j, "Colossus");
  initsample(j, "Earth");
  initsample(j, "Earth");
  initsample(j, "Dozer");
  initsample(j, "Bulldozer");
  initsample(j, "Earth");
  samplecomms[j] = Yurich;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  strcpy(tmpname, "Lionhunt\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Sharpshooter");
  initsample(j, "Sharpshooter");
  initsample(j, "Sharpshooter");
  initsample(j, "Sharpshooter");
  initsample(j, "Sharpshooter");
  initsample(j, "Hellion");
  initsample(j, "Hellion");
  initsample(j, "Hellion");
  initsample(j, "Hellion");
  initsample(j, "Hellion");
  samplecomms[j] = Freddie;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++;
  ///
  strcpy(tmpname, "TridentSpam\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Trident");
  initsample(j, "Exodrone");
  initsample(j, "Warehouse");
  initsample(j, "Warehouse");
  samplecomms[j] = Atlas;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++; 
  strcpy(tmpname, "Quakers\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Earthquake");
  initsample(j, "Earthquake");
  initsample(j, "Earthquake");
  initsample(j, "Earthquake");
  initsample(j, "Vaporw");
  initsample(j, "Vaporw");
  initsample(j, "Sust");
  initsample(j, "Sust");
  initsample(j, "Bolster");
  initsample(j, "Phoenix");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++; 
  strcpy(tmpname, "ToxicEvasion\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Toxic");
  initsample(j, "Toxic");
  initsample(j, "Stealthy");
  initsample(j, "Rifter");
  initsample(j, "Azure");
  initsample(j, "Azure");
  initsample(j, "Sharpshoot");
  initsample(j, "Sharpshoot");
  initsample(j, "Warehouse");
  initsample(j, "Warehouse");
  samplecomms[j] = Atlas;


  j++; // BT Rush
  strcpy(tmpname, "BT_rush_WH\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Hatchet");
  initsample(j, "Hatchet");
  initsample(j, "Hatchet");
  initsample(j, "Hatchet");
  initsample(j, "Mawcor");
  initsample(j, "Mawcor");
  initsample(j, "Asylum");
  initsample(j, "Asylum");
  initsample(j, "Warehouse");
  initsample(j, "Venomous");
  samplecomms[j] = LoT;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++; // Megapunch
  strcpy(tmpname, "Megapunch\0");
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Command_C");
  initsample(j, "Colossus");
  initsample(j, "Colossus");
  initsample(j, "Dozer");
  initsample(j, "Colossus");
  initsample(j, "Colossus");
  initsample(j, "Missile_s");
  initsample(j, "Gatling");
  initsample(j, "Electro");
  initsample(j, "Electro");
  samplecomms[j] = Atlas;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++; // FullMetal
  strcpy(tmpname, "FullMetal\0");//29 in total
  namelength[j] = strlen(tmpname);
  for (k=0;k<=namelength[j]-1;k++)
    teamname[j][k] = tmpname[k];
  initsample(j, "Bolide_w");
  initsample(j, "Poseidon");
  initsample(j, "Aegis");
  initsample(j, "Omega");
  initsample(j, "Pummel");
  initsample(j, "Azure");
  initsample(j, "Metalhead");
  initsample(j, "Dominated");
  initsample(j, "Shapeshifter");
  initsample(j, "Dozer");
  samplecomms[j] = Dracorex;
  printf("Number of cards in this sample deck - %d\n", samplenumcards[j]);
  j++; 
  printf("Sampledecks initialization finished\n\n");
  //================MISSIONS INIT=====================
  allM.numM = 0;
  strcpy(allM.Mpool[allM.numM].name, "90");
  initmission("Fenrir");
  initmission("Hatchet");
  initmission("Blood_p");
  initmission("Redeemer");
  initmission("Impaler");
  initmission("Fulfilling_m");
  initmission("Raging");
  initmission("Pouncer");
  initmission("Blood_sp");
  initmission("Infectious");
  initmission("Heartripper");
  initmission("Venomous");
  initmission("Nightmare");
  printf("Number of cards in mission deck %s - %d\n", allM.Mpool[allM.numM].name, allM.Mpool[allM.numM].numcards);
  allM.Mpool[allM.numM].missioncomm = LoT90;
  allM.numM++;
  strcpy(allM.Mpool[allM.numM].name, "89");
  initmission("Blight_cru");
  initmission("Mass_i");
  initmission("Impaler");
  initmission("Redeemer");
  initmission("Bro");
  initmission("Carrion");
  initmission("Corrosive");
  initmission("Heartripper");
  initmission("Diesel");
  initmission("Moloch");
  initmission("Mystic");
  initmission("Irradiation");
  allM.Mpool[allM.numM].missioncomm = LoT90;
  printf("Number of cards in mission deck %s - %d\n", allM.Mpool[allM.numM].name, allM.Mpool[allM.numM].numcards);
  allM.numM++;
  strcpy(allM.Mpool[allM.numM].name, "DR4");
  initmission("Burrower");
  initmission("Howitzer");
  initmission("Demolition");
  initmission("Pyro");
  initmission("Omega");
  initmission("Havoc");
  initmission("Hydra");
  initmission("Cannon_w");
  initmission("Raven");
  initmission("Mech_w");
  initmission("Fury_w");
  initmission("Hydroblade");
  initmission("Cycle");
  initmission("Tesla");
  initmission("Smash");
  printf("Number of cards in mission deck %s - %d\n", allM.Mpool[allM.numM].name, allM.Mpool[allM.numM].numcards);
  allM.Mpool[allM.numM].missioncomm = BarDR4;
  allM.numM++;
  strcpy(allM.Mpool[allM.numM].name, "II_test");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  initmission("Irradiated");
  printf("Number of cards in mission deck %s - %d\n", allM.Mpool[allM.numM].name, allM.Mpool[allM.numM].numcards);
  allM.Mpool[allM.numM].missioncomm = Thadius;
  allM.numM++;
  strcpy(allM.Mpool[allM.numM].name, "Crush-test");
  initmission("Mawcor");
  initmission("Mawcor");
  initmission("Mawcor");
  initmission("Mawcor");
  initmission("Mawcor");
  printf("Number of cards in mission deck %s - %d\n", allM.Mpool[allM.numM].name, allM.Mpool[allM.numM].numcards);
  allM.Mpool[allM.numM].missioncomm = Skull;
  allM.numM++;
  strcpy(allM.Mpool[allM.numM].name, "CF4");
  initmission("Rumbler");
  initmission("Aegis");
  initmission("Aquabat");
  initmission("Arc_Trooper");
  initmission("Disruptor");
  initmission("Jericho");
  initmission("Hydra");
  initmission("Obsidian");
  initmission("Impaler");
  initmission("Fenrir");
  initmission("Gruesome_Crawler");
  initmission("Moloch");
  initmission("Exhaust");
  initmission("Blood_Wall");
  initmission("Gatling");
  printf("Number of cards in mission deck %s - %d\n", allM.Mpool[allM.numM].name, allM.Mpool[allM.numM].numcards);
  allM.Mpool[allM.numM].missioncomm = CF4;
  allM.numM++;

  printf("Missiondecks initialization finished\n\n");

  //===============DECK=BUILDER============================
  printf ("Library initialized, now it has %d cards and %d commanders\n", allcards.numcards, allcards.numcomms);
  dummy = customstdin();
  if (custom == 1)
    for (j=0;j<=customnumcards-1;j++)
      decks[j][testattack] = customdeck[j];
  return 1;
}
